import Vue from 'vue'
import Router from 'vue-router'
import Home from '@/page/home'
import OverAll from '@/page/overall'
import Plugin from '@/page/plugin'
import MiXin from '@/page/mixin/mixin.vue'
import NoMiXin01 from '@/page/mixin/noMixin01.vue'
import NoMiXin02 from '@/page/mixin/noMixin02.vue'
import FnComponent from '@/page/FnComponent/father.vue'
import Vuex from '@/page/vuex.vue'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'Home',
      component: Home
    },
    {
      path: '/overall',
      name: 'OverAll',
      component: OverAll
    },
    {
      path: '/plugin',
      name: 'Plugin',
      component: Plugin
    },
    {
      path: '/mixin',
      name: 'MiXin',
      component: MiXin
    },
    {
      path: '/noMiXin01',
      name: 'NoMiXin01',
      component: NoMiXin01
    },
    {
      path: '/noMiXin02',
      name: 'NoMiXin02',
      component: NoMiXin02
    },
    {
      path: '/fnComponent',
      name: 'FnComponent',
      component: FnComponent
    },
    {
      path: '/vuex',
      name: 'Vuex',
      component: Vuex
    },
  ]
})
